package cn.iocoder.yudao.module.alipay.controller.app.babyorder.vo;

import lombok.*;

import java.math.BigDecimal;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 宝宝起名订单分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class BabyOrderPageReqVO extends PageParam {

    @Schema(description = "商家自定义订单号")
    private String outTradeNo;

    @Schema(description = "支付宝交易号")
    private String tradeNo;

    @Schema(description = "备注", example = "你猜")
    private String remark;

    @Schema(description = "支付用户id", example = "4779")
    private String buyerId;



    @Schema(description = "订单返回code")
    private String code;

    @Schema(description = "返回描述")
    private String message;

    @Schema(description = "订单状态")
    private String orderStatues;

    @Schema(description = "订单时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] orderTime;

    @Schema(description = "交易金额")
    private BigDecimal totalAmount;

    @Schema(description = "销售价")
    private BigDecimal retailPrise;

    @Schema(description = "原价")
    private BigDecimal costPrise;

    @Schema(description = "姓氏", example = "赵六")
    private String familyName;

    @Schema(description = "1为男，2为女")
    private String sex;

    @Schema(description = "阳历")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private String[] solarDate;

    @Schema(description = "农历")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private String[] lunarDate;

    @Schema(description = "1单字，2双字", example = "2")
    private String type;

    @Schema(description = "字辈避讳", example = "2437")
    private String forbid;

    @Schema(description = "购买商品")
    private String subject;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    private Integer expireTime;

    @Schema(description = "小程序id")
    private String appId;

    @Schema(description = "创建人")
    private Long creator;

}
